package cn.ly.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "历史")
public class History implements Serializable {
    @TableId(value="h_id",type = IdType.AUTO)
    @ApiModelProperty(name = "eId",value = "设备id")
    private Integer hId;

    @ApiModelProperty(name = "hDeviceId",value = "设备种类id")
    private Integer hDeviceId;

    @ApiModelProperty(name = "hUserId",value = "用户id")
    private Integer hUserId;

    @ApiModelProperty(name = "hRepairTime",value = "故障时间")
    private Date hRepairTime;

    @ApiModelProperty(name = "hDescription",value = "描述")
    private String hDescription;

    @ApiModelProperty(name = "hStateCode",value = "状态码")
    private Integer hStateCode;

    @ApiModelProperty(name = "hFaultStatus",value = "故障状态")
    private  String hFaultStatus;

    private Date hCreateTime;

    private Date hUpdateTime;

    private Date hDeleteTime;



    private Info info;
    private  User user;

    private static final long serialVersionUID = 1L;

}